import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import render from '@dfeidao/atom-web/render/render';
import p001 from './p001';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import set from '@dfeidao/atom-web/local/set';

export default async function a005(fd: IFeidaoAiBrowserComponent, source: string) {
	// 隐患源接收
	console.log('777', source);
	const res = await nodejs('risk-point/zj-000006/s002', {
		filter: {
			hidden_source: source
		}
	});
	console.log(res);
	render(fd, res, p001, 'p001', 'inner');

	set(fd, 'res', res);
}
